package com.xbongbong.pro.service.market.statistics;

import com.xbongbong.paas.domain.entity.PaasFormDataEntity;
import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.saas.domain.entity.StaticForUpdateDTO;

import java.util.List;

/**
 * @author: yingjianfeng
 * @Date: 2022/3/15 14:29
 * @Description:
 */
public interface MarketActivity4StaticHandle {
    /**
     * 业务类型
     *
     * @return 业务类型
     */
    Integer type();

    /**
     * 新增
     * date: 2022/3/15 2:49 下午
     *
     * @param paasFormDataEntity:
     * @author yingjf
     */
    void add(PaasFormDataEntity paasFormDataEntity) throws XbbException;

    /**
     * 更新
     * date: 2022/3/15 2:50 下午
     *
     * @param paasFormDataEntity:
     * @author yingjf
     */
    void update(PaasFormDataEntity paasFormDataEntity) throws XbbException;

    /**
     * 批量更新
     * date: 2022/3/15 2:53 下午
     *
     * @param list:
     * @param corpid:
     * @author yingjf
     */
    void updateBatch(List<StaticForUpdateDTO> list, String corpid) throws XbbException;

    /**
     * 批量删除
     * date: 2022/3/15 2:53 下午
     *
     * @param idIn:
     * @param corpid:
     * @param del:
     * @author yingjf
     */
    void deleteBatch(List<Long> idIn, String corpid, Integer del) throws XbbException;


    }
